<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <ul>
            <li v-for="item in laus">序号：{{item.id}} ———————— 语言名：{{item.name}}</li>
            <hr>
            <li v-for="(item,i) in laus">索引号：{{i}} ——————序号：{{item.id}} ———————— 语言名：{{item.name}}</li>
           <hr>
           <li v-for="(val,key) in emp">{{key}}-----{{val}}</li>
           <hr>
           <li v-for="i in 10">第{{i}}个li</li>
        </ul>
    </div>
    <script src="vue.js"></script>
    <script>
        var vm = new Vue({
            el:'#app',
            data:{
                laus:[
                    {id:'001',name:"Java"},
                    {id:'002',name:"JavaScript"},
                    {id:'003',name:"PHP"},
                ],
                emp:{id:'0004',name:"孙武",book:"孙子兵法"},
            },
        })
    </script>
</body>
</html>